package com.xin.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 教学评价
 * </p>
 *
 * @author l1
 * @since 2017-10-24
 */
@TableName("u_teaching_evaluation")
public class UTeachingEvaluation extends Model<UTeachingEvaluation> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 教师编号
     */
	@TableField("teacher_id")
	private String teacherId;
    /**
     * 学年
     */
	private String cycle;
    /**
     * 学期
     */
	private String semester;
    /**
     * 课程代码
     */
	@TableField("lession_code")
	private String lessionCode;
    /**
     * 课程名称
     */
	@TableField("lession_name")
	private String lessionName;
    /**
     * 评价得分
     */
	@TableField("evaluation_score")
	private Float evaluationScore;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getCycle() {
		return cycle;
	}

	public void setCycle(String cycle) {
		this.cycle = cycle;
	}

	public String getSemester() {
		return semester;
	}

	public void setSemester(String semester) {
		this.semester = semester;
	}

	public String getLessionCode() {
		return lessionCode;
	}

	public void setLessionCode(String lessionCode) {
		this.lessionCode = lessionCode;
	}

	public String getLessionName() {
		return lessionName;
	}

	public void setLessionName(String lessionName) {
		this.lessionName = lessionName;
	}

	public Float getEvaluationScore() {
		return evaluationScore;
	}

	public void setEvaluationScore(Float evaluationScore) {
		this.evaluationScore = evaluationScore;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "UTeachingEvaluation{" +
			"id=" + id +
			", teacherId=" + teacherId +
			", cycle=" + cycle +
			", semester=" + semester +
			", lessionCode=" + lessionCode +
			", lessionName=" + lessionName +
			", evaluationScore=" + evaluationScore +
			"}";
	}
}
